package com.itsu.spbspider.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itsu.spbspider.entity.Job;

import java.util.List;
import java.util.Map;

public interface JobService {

    Page getJobList(Integer page, Integer limit) throws Exception;

    Job getJobById(String id) throws Exception;

    void updateJob(Job job) throws Exception;

    void addNewJob(Map params) throws Exception;

    List<String> getJobModels() throws Exception;

    void delteJobById(String jobId) throws Exception;
}
